<div class="main_body">
    <?php echo $this->element('main_menu')?>		
	<div id="main_body_content">
	
		<div class="employees form">
		<?php echo $this->Form->create('Employee');?>
			<fieldset>
		 		<legend><?php __("Add Employee"); ?></legend>
			<?php
				echo $this->Form->input('email');
				echo $this->Form->input('password');				
				echo $this->Form->input('name',array('label'=>__("First Name",true)));
				echo $this->Form->input('surname',array('label'=>__("Last Name",true)));
				echo $this->Form->input('address1');
				echo $this->Form->input('address2');
				echo $this->Form->input('address3',array('label'=>__("City",true)));
				echo $this->Form->input('address4',array('label'=>__("State",true)));
				echo $this->Form->input('address5',array('label'=>__("Zip coode",true)));
				echo $this->Form->input('phone1');
				echo $this->Form->input('phone2');
				echo $this->Form->input('phone3');
				echo $this->Form->input('ssn_irs');
				echo $this->Form->input('numer_id',array('type'=>'text'));
				echo $this->Form->input('type_of_work_id',array('empty'=>''));
				echo $this->Form->input('type_of_work_2_id',array('options'=>$typeOfWorks,'empty'=>''));
				echo $this->Form->input('type_of_work_3_id',array('options'=>$typeOfWorks,'empty'=>''));
				echo $this->Form->input('date_of_employment',array('type'=>'text'));
				echo $this->Form->input('employment_end_date',array('type'=>'text'));
			?>
			</fieldset>
		<?php echo $this->Form->end(__("Submit", true));?>
		</div>

		<div class="clr"></div>	
	</div>			
	<?php echo $this->element('languages')?>	
	<div class="clr"></div>
</div>	
<div class="clr"></div>	
<div class="main_action">
	<div class="main_action_content">
			
		<div class="actions">
			<h3><?php __("Actions"); ?></h3>
			<ul>		
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_employees.png'), array('controller' => 'employees', 'action' => 'index'),array('escape'=>false,'title'=>__("List Employees", true))); ?> <div class="clr"></div> <?php echo __("List Employees", true)?></li>
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_works_list.png'), array('controller' => 'type_of_works', 'action' => 'index'),array('title'=>__("List Type Of Work", true),'escape'=>false)); ?><div class="clr"></div> <?php echo __("List Type Of Work", true)?></li>
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_series.png'), array('controller' => 'orders_series', 'action' => 'index'),array('title'=>__("List Orders Series", true),'escape'=>false)); ?> <div class="clr"></div> <?php echo __("List Orders Series", true)?></li>				
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_orders_list.png'), array('controller' => 'orders', 'action' => 'index'),array('escape'=>false,'title'=>__("List Orders", true))); ?><div class="clr"></div>	<?php echo __("List Orders", true)?> </li>	
				
			</ul>
		</div>
		
		<div class="clr"></div>
	</div>		
</div>	